package cn.jiyun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xm_order_goodslist")
@ApiModel(value="XmOrderGoodslist对象", description="")
public class XmOrderGoodslist implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private Integer oid;

    @ApiModelProperty(value = "商品id")
    private Integer gid;

    @ApiModelProperty(value = "下单规格类型")
    private String picked;

    @ApiModelProperty(value = "下单数量")
    private Integer numed;

    @ApiModelProperty(value = "商品名称")
    private String gname;

    @ApiModelProperty(value = "商品图片")
    private String gimage;

    @ApiModelProperty(value = "属性")
    private String status;

    @ApiModelProperty(value = "单价")
    private Double price;
}
